package org.apache.osgimaker.analyse.datamodel;

import java.util.ArrayList;
import java.util.List;

public class PackageInstance {
	private String name="";
	private String sources="";
	private int size=-1;
	private int usedBy=-1;
	private int usesInternal=-1;
	private int usesExternal=-1;
	private int layer=-1;
	private String cycle="";
	public List<String> usedByList = new ArrayList<String>();
	public List<String> usesExternalList = new ArrayList<String>();
	public List<String> usesInternalList = new ArrayList<String>();
	public List<PackageInstance> subPackageList = new ArrayList<PackageInstance>();
	private boolean visual = false;
	
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getSources() {
		return sources;
	}
	public void setSources(String sources) {
		this.sources = sources;
	}
	public int getSize() {
		return size;
	}
	public void setSize(int size) {
		this.size = size;
	}
	public int getUsedBy() {
		return usedBy;
	}
	public void setUsedBy(int usedBy) {
		this.usedBy = usedBy;
	}
	public int getUsesInternal() {
		return usesInternal;
	}
	public void setUsesInternal(int usesInternal) {
		this.usesInternal = usesInternal;
	}
	public int getUsesExternal() {
		return usesExternal;
	}
	public void setUsesExternal(int usesExternal) {
		this.usesExternal = usesExternal;
	}
	public int getLayer() {
		return layer;
	}
	public void setLayer(int layer) {
		this.layer = layer;
	}
	public String getCycle() {
		return cycle;
	}
	public void setCycle(String cycle) {
		this.cycle = cycle;
	}
	public boolean isVisual() {
		return visual;
	}
	public void setVisual(boolean visual) {
		this.visual = visual;
	}
	
}
